﻿<template>
    <div class="link">
        <router-link to="/home">Home</router-link>
        <router-link to="/about">About</router-link>

        <!-- 指定组件的呈现位置 -->
        <router-view></router-view>
    </div>
</template>

<script>
    export default {
        name: 'App',
        components:{},
    }
</script>

<style>
*{
    margin: 0;
    padding: 0;
}
.link{
    /* margin-left:10px; */
    padding-left: 10px;
}
</style>